pkgname=device-oneplus-onyx
pkgver=1
pkgrel=1
pkgdesc="OnePlus X"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-oneplus-onyx linux-firmware mkbootimg msm-fb-refresher"
makedepends=""
install=""
source="deviceinfo 90-android-touch-dev.rules fb.modes"
options="!check"

package() {
	install -Dm644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
	install -Dm644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
	install -Dm644 "$srcdir"/fb.modes \
		"$pkgdir"/etc/fb.modes

}

sha512sums="83bdeb4a7fbcbe06dc2c46ab048d1c2661c96cba9e5132fdb45641272e6e2b2edfbb9086773273b6fa173a717529c0387cee9e91dede00051f352a25ab30d93b  deviceinfo
73963817cab7b798642f91894eb17975212a323d0e8bf8ce4f477fe33ace90b0050180877cbb605a074d07871d640c654cd581f0359532b9edb072013e6346a5  90-android-touch-dev.rules
1452360bab1146643d8c6e0c881bfc145030cd5e3704765fc17f701dcec3f3e890a93db77e1b6afd6884d48b790e7dfc1013bbeedd619ae798baccaeab118847  fb.modes"
